package com.bdk.middle.common.util;

/**
 * @author $
 * @version V1.0
 * @className $
 * @description: $
 * @createTime $ $
 */
public class Constant {

    /**
     * IS_DELETE_FALSE 有效
     */
    public final static int IS_DELETE = -1;
    public final static int IS_DELETE_FALSE = 1;

    /**
     * 状态
     */
    public final static int STATUS_OK = 1;    //正常
    public final static int STATUS_LOCK = 2;     //锁定

    /**
     * 停用启用
     * DISABLE 停用
     * ENABLE 启用
     */
    public final static int DISABLE = 0;
    public final static int ENABLE = 1;

    /**
     * 权力类型
     * MENU 菜单
     * BUTTON 按钮
     */
    public final static int MENU = 1;
    public final static int BUTTON = 2;

    /**
     * 审核状态
     * NOT_PASS 未通过
     * CHECK 待审核
     * PASSED 通过
     */
    public final static int NOT_PASS = -1;
    public final static int CHECK = 2;
    public final static int PASSED = 3;

    /**
     * 上下架状态
     * on 上架
     * off 下架
     */
    public final static int OFF = 0;
    public final static int ON = 1;

    /**
     * 客户端类型
     */
    public final static int PC = 1;
    public final static int ANDROID = 2;
    public final static int IOS = 3;
    public final static int MOBILE = 4;
    public final static int ALL = 5;

    /**
     * 是否显示评论
     */
    public final static int DISPLAY = 1;
    public final static int HIDE = -1;

    /**
     * 是否置顶
     */
    public final static int TOP = 1;
    public final static int NOT_TOP = 0;

    /**
     * 订单状态
     * 取消
     * 等待支付
     * 支付完成
     * 配送中
     * 完成
     * 退款
     */
    public final static int ORDER_STATUS_CANCEL = -1;
    public final static int ORDER_STATUS_WAIT_PAY = 1;
    public final static int ORDER_STATUS_PAY = 2;
    public final static int ORDER_STATUS_DELIVERY = 3;
    public final static int ORDER_STATUS_SUCCESS = 4;
    public final static int ORDER_STATUS_REFUND = 5;

    /**
     * 支付状态
     * 成功
     * 失败
     */
    public final static int PAY_STATUS_FAIL = -1;
    public final static int PAY_STATUS_SUCCESS = 1;

    /**
     * 配送状态
     * 失败
     * 完成
     */
    public final static int DELIVERY_STATUS_FAIL = -1;
    public final static int DELIVERY_STATUS_TRANSPORT = 0;
    public final static int DELIVERY_STATUS_SUCCESS = 1;

    /**
     * 商品配送方式
     * 自营
     * 虚拟发货
     * 供应商发货
     */
    public final static int GOODS_DELIVERY_OWN = 1;
    public final static int GOODS_DELIVERY_VIRTUAL = 2;
    public final static int GOODS_DELIVERY_SUPPLY = 3;

    /**
     * 商品是否是虚拟
     * 是
     * 不是
     */
    public final static int GOODS_VIRTUAL_TRUE = 1;
    public final static int GOODS_VIRTUAL_FALSE = 0;

    /**
     * 交易状态
     * 成功
     * 失败
     */
    public final static int TRANSACTION_SUCCESS = 1;
    public final static int TRANSACTION_FAIL = -1;

    /**
     * 商品是否是虚拟
     * 有效
     * 过期
     * 领取
     */
    public final static int VAlID = 1;
    public final static int EXPIRE = -1;
    public final static int RECEIVE = 0;

    /**
     * 规则类型
     * 1充值
     * 2奖励
     */
    public final static int EXCHANGE_RULE = 1;
    public final static int REWARD_RULE = 2;

}


